package com.untrance.shop.core.service;

import java.util.List;

import com.google.appengine.api.datastore.Key;
import com.untrance.shop.common.vo.CategoryVO;
import com.untrance.shop.model.Category;

/**
 * @author eugene zadyra
 */
public interface CategoryService {
	
	List<Category> getCategoriesTreeByKey(Key key);
	Category add(Category category);
	List<Key> getSubcategoryKeys(Key categoryKey);
	List<Category> getCategoriesChainByKey(Key key);
	List<CategoryVO> getCategoriesVOChainByKey(Key key);
	List<CategoryVO> getCategoriesVOTreeByKey(Key key);
}
